module(...,package.seeall)

DefinedJars = require("JewelJar")

DefinedLevels = {
					Level1 = {bg="gamebg"..math.random(1,2)..".png",
							  jewelJar=DefinedJars.getDefinedJars(math.random(1,2))},
					
					Level2 = {bg="gamebg"..math.random(1,2)..".png",
							  jewelJar=DefinedJars.getDefinedJars(math.random(1,2))},
					
					Level3 = {bg="gamebg"..math.random(2,3)..".png",
							  jewelJar=DefinedJars.getDefinedJars(math.random(2,3))},
							  
					Level4 = {bg="gamebg"..math.random(1,2)..".png",
							  jewelJar=DefinedJars.getDefinedJars(math.random(2,3))},
					
					Level5 = {bg="gamebg"..math.random(1,2)..".png",
							  jewelJar=DefinedJars.getDefinedJars(math.random(1,2))},
					
					Level6 = {bg="gamebg"..math.random(3,4)..".png",
							  jewelJar=DefinedJars.getDefinedJars(math.random(3,5))},
							  
					Level7 = {bg="gamebg"..math.random(1,2)..".png",
							  jewelJar=DefinedJars.getDefinedJars(math.random(1,2))},
					
					Level8 = {bg="gamebg"..math.random(1,4)..".png",
							  jewelJar=DefinedJars.getDefinedJars(math.random(1,2))},
					
					Level9 = {bg="gamebg"..math.random(2,3)..".png",
							  jewelJar=DefinedJars.getDefinedJars(math.random(2,3))},
							  
					Level10 = {bg="gamebg"..math.random(1,2)..".png",
							  jewelJar=DefinedJars.getDefinedJars(math.random(1,3))},
					
					Level11 = {bg="gamebg"..math.random(1,2)..".png",
							  jewelJar=DefinedJars.getDefinedJars(math.random(1,2))},
					
					Level12 = {bg="gamebg"..math.random(2,3)..".png",
							  jewelJar=DefinedJars.getDefinedJars(math.random(2,3))},
							  
				
					Level13 = {bg="gamebg"..math.random(1,4)..".png",
							  jewelJar=DefinedJars.getDefinedJars(math.random(3,4))},
							  
					Level14 = {bg="gamebg"..math.random(3,4)..".png",
							  jewelJar=DefinedJars.getDefinedJars(math.random(2,4))},
					
					Level15 = {bg="gamebg"..math.random(4,5)..".png",
							  jewelJar=DefinedJars.getDefinedJars(math.random(1,2))},
					
					Level16 = {bg="gamebg"..math.random(2,3)..".png",
							  jewelJar=DefinedJars.getDefinedJars(math.random(2,3))},
									
					Level17 = {bg="gamebg"..math.random(3,6)..".png",
							  jewelJar=DefinedJars.getDefinedJars(math.random(3,5))},
							  
					Level18 = {bg="gamebg"..math.random(4,5)..".png",
							  jewelJar=DefinedJars.getDefinedJars(math.random(2,3))},
					
					Level19 = {bg="gamebg"..math.random(4,5)..".png",
							  jewelJar=DefinedJars.getDefinedJars(math.random(1,2))},
					
					Level20 = {bg="gamebg"..math.random(2,3)..".png",
							  jewelJar=DefinedJars.getDefinedJars(math.random(2,3))},
							  
					Level21 = {bg="gamebg"..math.random(3,6)..".png",
							  jewelJar=DefinedJars.getDefinedJars(math.random(3,4))},
							  
					Level22 = {bg="gamebg"..math.random(4,5)..".png",
							  jewelJar=DefinedJars.getDefinedJars(math.random(4,5))},
					
					Level23 = {bg="gamebg"..math.random(5,7)..".png",
							  jewelJar=DefinedJars.getDefinedJars(math.random(1,2))},
					
					Level24 = {bg="gamebg"..math.random(2,3)..".png",
							  jewelJar=DefinedJars.getDefinedJars(math.random(3,4))},
							  
					Level25 = {bg="gamebg"..math.random(2,3)..".png",
							  jewelJar=DefinedJars.getDefinedJars(math.random(2,3))},
							  
					Level26 = {bg="gamebg"..math.random(5,7)..".png",
							  jewelJar=DefinedJars.getDefinedJars(math.random(3,4))},
							  
					Level27 = {bg="gamebg"..math.random(6,8)..".png",
							  jewelJar=DefinedJars.getDefinedJars(math.random(4,5))},
					
					Level28 = {bg="gamebg"..math.random(5,7)..".png",
							  jewelJar=DefinedJars.getDefinedJars(math.random(3,5))},
					
					Level29 = {bg="gamebg"..math.random(6,8)..".png",
							  jewelJar=DefinedJars.getDefinedJars(math.random(2,4))},
							  
					Level30 = {bg="gamebg"..math.random(6,8)..".png",
							  jewelJar=DefinedJars.getDefinedJars(math.random(2,4))}
				
			
				}
				
function getLevelDefinition(level)
	LevelTitle = "Level"..level
	return DefinedLevels[LevelTitle]
end